<div class="panel panel-default panel-intro">

    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <!-- <ul class="nav nav-tabs" data-field="status">
            <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a>
            </li>
            {foreach name="statusList" item="vo"}
            <li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key|htmlentities}" data-value="{$key|htmlentities}"
                                                                                 data-toggle="tab">{$vo|htmlentities}</a></li>
            {/foreach}
        </ul> -->
    </div>

    <style>
        .columns-right{
            display: none;
        }
    </style>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <!-- <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                class="fa fa-refresh"></i> </a> -->
                        <!--                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('fzdc/order/order/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>-->
                        <!--                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('fzdc/order/order/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>-->
                        <!--                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('fzdc/order/order/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>-->


                        <!--                        <div class="dropdown btn-group {:$auth->check('fzdc/order/order/multi')?'':'hide'}">-->
                        <!--                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>-->
                        <!--                            <ul class="dropdown-menu text-left" role="menu">-->
                        <!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>-->
                        <!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>-->
                        <!--                            </ul>-->
                        <!--                        </div>-->

                        <script id="categorytpl" type="text/html">
                            <div class="row">
                                <div class="col-xs-12">
                                    <div class="form-inline" data-toggle="cxselect" data-selects="rest,store">
                                        <select class="rest form-control" name="restaurant_id"
                                                data-url="fzdc/order/order/get_all_rest"></select>
                                        <select style="width: 110px;" class="store form-control" name="store_id" data-url="fzdc/order/order/get_all_store"
                                                data-query-name="rest"></select>
                    
                                        <input type="hidden" class="form-control operate" name="rest-operate" data-name="restaurant_id" value="="
                                               readonly="">
                                        <input type="hidden" class="form-control operate" name="store-operate" data-name="store_id" value="="
                                               readonly="">
                                    </div>
                                </div>
                            </div>
                        </script>
                    
                    </div>
                    <table id="table" style="display: none;" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('fzdc/order/order/edit')}"
                           data-operate-del="{:$auth->check('fzdc/order/order/del')}"
                           width="100%">
                    </table>
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="row">
                                <div class="col-xs-3" style="margin-bottom:15px;">
                                    <div class="panel panel-default panel-intro panel-statistics">
                                        <div class="panel-body">
                                            <h3>平台收款总额（实际收款）</h3>
                                            <h4>￥<span id="priceall"></span></h4>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-3" style="margin-bottom:15px;">
                                    <div class="panel panel-default panel-intro panel-statistics">
                                        <div class="panel-body">
                                            <h3>平台收款总额（不包含退款单）</h3>
                                            <h4>￥<span id="priceall_norefund"></span></h4>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-3" style="margin-bottom:15px;">
                                    <div class="panel panel-default panel-intro panel-statistics">
                                        <div class="panel-body">
                                            <h3>退款总额</h3>
                                            <h4>￥<span id="priceall_refund"></span></h4>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-3" style="margin-bottom:15px;">
                                    <div class="panel panel-default panel-intro panel-statistics">
                                        <div class="panel-body">
                                            <h3>商家结算总额（不包含退款单）</h3>
                                            <h4>￥<span id="priceall_settle"></span></h4>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-3" style="margin-bottom:15px;">
                                    <div class="panel panel-default panel-intro panel-statistics">
                                        <div class="panel-body">
                                            <h3>服务费总额（不包含退款单）</h3>
                                            <div class="panel-btn">
                                                <h4> ￥<span id="priceall_charge"></span></h4>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-3" style="margin-bottom:15px;">
                                    <div class="panel panel-default panel-intro panel-statistics">
                                        <div class="panel-body">
                                            <h3>优惠券使用总额（不包含退款单）</h3>
                                            <div class="panel-btn">
                                                <h4> ￥<span id="priceall_coupon"></span></h4>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-3" style="margin-bottom:15px;">
                                    <div class="panel panel-default panel-intro panel-statistics">
                                        <div class="panel-body">
                                            <h3>总订单数</h3>
                                            <div class="panel-btn">
                                                <h4> <span id="ordercount"></span>个</h4>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-3" style="margin-bottom:15px;">
                                    <div class="panel panel-default panel-intro panel-statistics">
                                        <div class="panel-body">
                                            <h3>退款订单数</h3>
                                            <div class="panel-btn">
                                                <h4> <span id="ordercount_refund"></span>个</h4>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
